package com.itheima.web.mapper.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.vo.pms.PmsProductAttributeCategory;
import com.itheima.vo.pms.PmsProductCategoryAttributeRelation;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PmsProductCategoryAttributeRelationMapper extends BaseMapper<PmsProductCategoryAttributeRelation> {

    @Delete("delete from pms_product_category_attribute_relation where product_category_id=#{id}")
    void removeBy(Integer id);
}
